var today =new Date();
var  hourNow=today.getHours();
var greeting;

if(hourNow>18)
{
    greeting='Good Evening11';
}
else if(hourNow>12)
{
    greeting='Good Afternoon';
}
else
{
   greeting ='Good Morning';
}

document.write('<h3>'+greeting+'<h3>');
